package org.metasketch.graphics.language.xml;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;


@XStreamAlias("binding")
public class Binding extends NamedEntity {

	//all are optional //must have at least one defined
	@XStreamAsAttribute
	String left;
	
	@XStreamAsAttribute
	String right;
	
	@XStreamAsAttribute
	String top;
	
	@XStreamAsAttribute
	String bottom;

	public String getLeft() {
		return left;
	}

	public void setLeft(String left) {
		this.left = left;
	}

	public String getRight() {
		return right;
	}

	public void setRight(String right) {
		this.right = right;
	}

	public String getTop() {
		return top;
	}

	public void setTop(String top) {
		this.top = top;
	}

	public String getBottom() {
		return bottom;
	}

	public void setBottom(String bottom) {
		this.bottom = bottom;
	}

}
